package com.easy;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * 启动程序
 *
 * @author zhouRuoYu
 * @date 2022/11/16
 */
//@ServletComponentScan//过滤器
@EnableCreateCacheAnnotation//jetcache启用缓存的主开关		用于激活@CreateCache注解的使用
@EnableTransactionManagement//开启事务
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class EasyApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyApplication.class);
    }
}
